﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="LighthouseResponseException.cs" company="Mar3ek">
//   http://mar3ek.wordpress.com
// </copyright>
// <summary>
//   An exception that is thrown when the API responded with error datas
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace LighthouseNET
{
    using System;

    /// <summary>
    /// An exception that is thrown when the API responded with error datas
    /// </summary>
    public sealed class LighthouseResponseException : Exception
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="LighthouseResponseException"/> class. 
        /// </summary>
        public LighthouseResponseException()
        { }

        /// <summary>
        /// Initializes a new instance of the <see cref="LighthouseResponseException"/> class. 
        /// </summary>
        /// <param name="message">
        /// The exception message.
        /// </param>
        public LighthouseResponseException(string message) : base(message)
        { }

        /// <summary>
        /// Initializes a new instance of the <see cref="LighthouseResponseException"/> class. 
        /// </summary>
        /// <param name="message">
        /// The exception message.
        /// </param>
        /// <param name="innerException">
        /// The inner exception.
        /// </param>
        public LighthouseResponseException(string message, Exception innerException) : base(message, innerException)
        { }
    }
}
